package com.test;

import java.util.HashSet;
import java.util.Scanner;

import com.core.RegsService;

public class Main2 {
	public static void main(String[] args) {
		RegsService regsService = new RegsService();
		HashSet<String> set = new HashSet<>();
		try(Scanner cin = new Scanner(Main2.class.getResourceAsStream("/fdsdata20181025(0623-0624).txt"))){
			String line = null;
			while(cin.hasNext()) {
				line = cin.nextLine();
				String info = regsService.getInfo("FLID", line);
				set.add(info);
			}
			System.out.println(set.size());
		}catch (Exception e) {
			// TODO: handle exception
		}
		
	}
}
